package com.atguigu.listener;

import javax.servlet.http.HttpSessionActivationListener;
import javax.servlet.http.HttpSessionEvent;

public class MyActivationListener implements HttpSessionActivationListener {
    @Override
    public void sessionWillPassivate(HttpSessionEvent se) {
        //HttpSessionActivationListener.super.sessionWillPassivate(se);
        System.out.println("sessionWillPassivate");
    }

    @Override
    public void sessionDidActivate(HttpSessionEvent se) {
        //HttpSessionActivationListener.super.sessionDidActivate(se);
        System.out.println("sessionDidActivate");
    }
}
